home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-04d.zip / 04d / CHIP / Porady / Niewidoczny w sieci / TOR 0.1.2.7 / vidalia-bundle-0.1.2.7-alpha-0.0.10.exe / Privoxy / templates / connect-failed < prev    next >
Text File  |  2006-11-04  |  5KB  |  160 lines

  1. ##########################################################
  2. #
  3. # No-Such-Domain Error Output template for Privoxy.
  4. #
  5. #
  6. # USING HTML TEMPLATES:
  7. # ---------------------
  8. #
  9. # Template files are written win plain HTML, with a few
  10. # additions:
  11. # - Lines that start with a '#' character like this one
  12. #   are ignored
  13. #
  14. # - Each item in the below list of exported symbols will
  15. #   be replaced by dynamically generated text, if they
  16. #   are enclosed in '@'-characters. E.g. The string @version@
  17. #   will be replaced by the version number of Privoxy.
  18. #
  19. # - One special application of this is to make whole blocks
  20. #   of the HTML template disappear if the condition <name>
  21. #   is not given. Simply enclose the block between the two
  22. #   strings @if-<name>start and if-<name>-end@. The strings
  23. #   should be placed in HTML comments (<!-- -->), so the
  24. #   html structure won't be messed when the magic happens.
  25. #   
  26. # USABLE SYMBOLS IN THIS TEMPLATE:
  27. # --------------------------------
  28. #
  29. #  my-ip-addr:
  30. #    The IP-address that the client used to reach this proxy
  31. #  my-hostname:
  32. #    The hostname associated with my-ip-addr
  33. #  admin-address:
  34. #    The email address of the pxoxy's administrator, as configured
  35. #    in the config file
  36. #  default-cgi:
  37. #    The URL for the "main menu" builtin CGI of this proxy
  38. #  menu:
  39. #    List of <li> elements linking to the other available CGIs
  40. #  version:
  41. #    The version number of the proxy software
  42. #  code-status:
  43. #    The development status of the proxy software: "alpha", "beta",
  44. #    or "stable".
  45. #  homepage:
  46. #    The URL of the SourceForge ijbswa project, who maintains this
  47. #    software.
  48. #
  49. #  host-ip:
  50. #    The IP address of the host that could not be reached
  51. #  hostport:
  52. #    The host and port part of the request that lead to this problem
  53. #  path:
  54. #    The path part of the request that lead to this problem
  55. #
  56. #
  57. # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
  58. # ------------------------------------------------------------------
  59. #
  60. #  unstable:
  61. #    this is an alpha or beta release of the proxy software
  62. #  have-adminaddr-info:
  63. #    An e-mail address for the local Privoxy adminstrator has
  64. #    been specified and is available through the "admin-address"
  65. #    symbol
  66. #  have-proxy-info:
  67. #    A URL for online documentation about this proxy has been
  68. #    specified and is available through the "proxy-info-url"
  69. #    symbol
  70. #  have-help-info:
  71. #    If either have-proxy-info is true or have-adminaddr-info is
  72. #    true, have-help-info is true.  Used to conditionally include
  73. #    a grey box for any and all help info.
  74. #
  75. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  76. <html>
  77.  
  78. <head>
  79.   <title>503 - Connect failed (Privoxy@@my-hostname@)</title>
  80.   <meta http-equiv="Content-Style-Type" content="text/css">
  81.   <meta http-equiv="Content-Script-Type" content="text/javascript">
  82.   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  83.   <meta name="robots" content="noindex,nofollow">
  84.   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
  85. </head>
  86.  
  87. <body>
  88.  
  89.   <table cellpadding="20" cellspacing="10" border="0" width="100%">
  90.     <tr>
  91.       <td class="status">
  92.         503
  93.       </td>     
  94.       <td class="title" style="width: 100%">
  95.  
  96. #include mod-title
  97.  
  98.       </td>
  99.     </tr>
  100.  
  101. <!-- @if-unstable-start -->
  102. # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
  103.     <tr>
  104.       <td class="warning" colspan="2">
  105.  
  106. #include mod-unstable-warning
  107.  
  108.       </td>
  109.     </tr>
  110. <!-- if-unstable-end@ -->
  111.  
  112.     <tr>
  113.       <td class="warning" colspan=2>
  114.         <h2>Connect failed</h2>
  115.           <p>Your request for <a href="@protocol@@hostport@@path@"><b>@protocol@@hostport@@path@</b></a> could
  116.             not be fulfilled, because the connection to <b>@host@</b> (@host-ip@) could not be established.
  117.           </p>
  118.           <p>This is often a temporary failure, so you might just
  119.             <a href="@protocol@@hostport@@path@">try again</a>.
  120.          </p>
  121.       </td>
  122.     </tr>
  123.  
  124.     <tr>
  125.       <td class="box" colspan="2">
  126.         <h2>More Privoxy:</h2>
  127.         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
  128.       </td>
  129.     </tr>
  130.  
  131.     <tr>
  132.       <td class="info" colspan="2">
  133.  
  134. #include mod-support-and-service
  135.  
  136.       </td>
  137.     </tr>
  138.  
  139. <!-- @if-have-help-info-start -->
  140.     <tr>
  141.       <td class="info" colspan="2">
  142.  
  143. #include mod-local-help
  144.  
  145.       </td>
  146.     </tr>
  147. <!-- if-have-help-info-end@ -->
  148.  
  149.     <tr>
  150.       <td colspan="2">
  151.         <p class="small">Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></p>
  152.       </td>
  153.     </tr>
  154.     
  155.   </table>
  156.  
  157. </body>
  158. </html>
  159.